lottery operation